package domain.entities.interfaces;

import java.util.Set;

import domain.entities.impl.ContactGroup;

public interface IUser {

	//VERSION
	public abstract int getVersion();
	public abstract void setVersion(int version);
	
	//ID
	public abstract int getId();
	public abstract void setId(int id);

	//LOGIN
	public abstract String getLogin();
	public abstract void setLogin(String login);

	//PASSWORD
	public abstract String getPassword();
	public abstract void setPassword(String password);

	//CONTACT_GROUP
	public abstract Set<IContactGroup> getContactGroups();
	public abstract void setContactGroups(Set<IContactGroup> contactGroups);
	public abstract void removeContactGroup(int groupId);

}